﻿import request from '@/utils/request';
// list
export const weixiuxinxiList = (params) => {
    return request({
        url: '/weixiuxinxi/page',
        method: 'post',
        data: params,
    })
};
export const weixiuxinxiDetail = (id) => {
    return request({
        url: '/weixiuxinxi/'+id,
        method: 'get',
    })
};
// add
export const weixiuxinxiSave = (params) => {
    return request({
        url: '/weixiuxinxi',
        method: 'post',
        data: params,
    })
};
// updt
export const weixiuxinxiEdit = (params) => {
    return request({
        url: '/weixiuxinxi',
        method: 'put',
        data: params,
    })
};
// delete
export const weixiuxinxiDelete = (id) => {
    return request({
        url: '/weixiuxinxi/'+id,
        method: 'delete',
    })
};
// pldel
export const weixiuxinxiDeleteList = (weixiuxinxis) => {
    return request({
        url: '/weixiuxinxi/deleteList',
        data:{list:weixiuxinxis},
        method: 'post',
    })
};
// all
export const weixiuxinxiAllList = () => {
    return request({
        url: '/weixiuxinxi',
        method: 'get',
    })
};

